import useTitle from '@/hooks/useTitle'
import {
    Button
} from 'react-vant'
import {
    showToast
} from '@/components/Toast/toastController'

const Home = () => {
    useTitle('首页')
    return (
        <div>
            首页
            <Button
                type='primary'
                onClick={() => showToast(1, 2, 3)}>
                显示Toast
            </Button>
        </div>
    )
}

export default Home